Support the latest EWMH additions to the _NET_ACTIVE_WINDOW client message
authorMatthias Clasen <mclasen@redhat.com>
Mon, 23 Aug 2004 15:12:04 +0000 (15:12 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 23 Aug 2004 15:12:04 +0000 (15:12 +0000)
2004-08-23  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest
EWMH additions to the _NET_ACTIVE_WINDOW client message
format.  (#150668, Elijah Newren)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/x11/gdkwindow-x11.c

index 25cc01c22b5bf8a7a6eaa9ec84d63ec81c7f5274..be20df84d2d7ae601db98b8142e8305265c9f559 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-08-23  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest
+       EWMH additions to the _NET_ACTIVE_WINDOW client message 
+       format.  (#150668, Elijah Newren)
+
 Mon Aug 23 01:17:59 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gdk/gdkrgb.c (gdk_rgb_xpixel_from_rgb_internal): Set unused
index 25cc01c22b5bf8a7a6eaa9ec84d63ec81c7f5274..be20df84d2d7ae601db98b8142e8305265c9f559 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-23  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest
+       EWMH additions to the _NET_ACTIVE_WINDOW client message 
+       format.  (#150668, Elijah Newren)
+
 Mon Aug 23 01:17:59 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gdk/gdkrgb.c (gdk_rgb_xpixel_from_rgb_internal): Set unused
index 25cc01c22b5bf8a7a6eaa9ec84d63ec81c7f5274..be20df84d2d7ae601db98b8142e8305265c9f559 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-23  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest
+       EWMH additions to the _NET_ACTIVE_WINDOW client message 
+       format.  (#150668, Elijah Newren)
+
 Mon Aug 23 01:17:59 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gdk/gdkrgb.c (gdk_rgb_xpixel_from_rgb_internal): Set unused
index 25cc01c22b5bf8a7a6eaa9ec84d63ec81c7f5274..be20df84d2d7ae601db98b8142e8305265c9f559 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-23  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest
+       EWMH additions to the _NET_ACTIVE_WINDOW client message 
+       format.  (#150668, Elijah Newren)
+
 Mon Aug 23 01:17:59 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gdk/gdkrgb.c (gdk_rgb_xpixel_from_rgb_internal): Set unused
index 822701420bf087148cac25e7ef63370d17be368a..36c5f1166bd59346d743d7f4dd8a068247f76535 100644 (file)
@@ -2014,9 +2014,9 @@ gdk_window_focus (GdkWindow *window,
       xev.xclient.message_type = gdk_x11_get_xatom_by_name_for_display (display,
                                                                        "_NET_ACTIVE_WINDOW");
       xev.xclient.format = 32;
-      xev.xclient.data.l[0] = 0;
-      xev.xclient.data.l[1] = 0;
-      xev.xclient.data.l[2] = 0;
+      xev.xclient.data.l[0] = 1; /* requestor type; we're an app */
+      xev.xclient.data.l[1] = timestamp;
+      xev.xclient.data.l[2] = None; /* currently active window */
       xev.xclient.data.l[3] = 0;
       xev.xclient.data.l[4] = 0;